/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package info.hengha.blue.model;

import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 *
 * @author Administrator
 */
@Entity
@Table(name = "blue_node_taxonomy")
public class NodeTaxonomy implements Serializable {

    /**
     *
     */
    private static final long serialVersionUID = 1L;
    @Id
    @GeneratedValue
    private int id;
    @Column(name = "node_id")
    private int nodeId;
    @Column(name = "term_taxonomy_id")
    private int termTaxonomyId;
    @Column(name = "term_order")
    private int termOrder;

    /**
     * @return the id
     */
    public int getId() {
        return id;
    }

    /**
     * @param id the id to set
     */
    public void setId(int id) {
        this.id = id;
    }

    /**
     * @return the nodeId
     */
    public int getNodeId() {
        return nodeId;
    }

    /**
     * @param nodeId the nodeId to set
     */
    public void setNodeId(int nodeId) {
        this.nodeId = nodeId;
    }

    /**
     * @return the termTaxonomyId
     */
    public int getTermTaxonomyId() {
        return termTaxonomyId;
    }

    /**
     * @param termTaxonomyId the termTaxonomyId to set
     */
    public void setTermTaxonomyId(int termTaxonomyId) {
        this.termTaxonomyId = termTaxonomyId;
    }

    /**
     * @return the termOrder
     */
    public int getTermOrder() {
        return termOrder;
    }

    /**
     * @param termOrder the termOrder to set
     */
    public void setTermOrder(int termOrder) {
        this.termOrder = termOrder;
    }

}
